package cn.itheima.health.service;

import cn.itheima.health.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.List;
import java.util.Map;

public interface RoleAdminService {
    List<Role> findRoleAll();

    Map findRoleIdsByUserId(Integer id);

    Map findPage(QueryPageBean queryPageBean);

    void add(Role role, Integer[] permissionIds);

    void deleteRoleAdminById(Integer id);

    void edit(Role role, Integer[] permissionIds);

}
